import { Component ,ViewChild} from '@angular/core';

@Component({
  selector: 'app-autocomplete',
  templateUrl: './autocomplete.component.html',
  styleUrls: ['./autocomplete.component.scss']
})
export class AutocompleteComponent {
  @ViewChild('yx') 
  yx:any

  @ViewChild('bk') 
  bk:any

  @ViewChild('wb') 
  wb:any
  
 onYx(){
  this.yx.nativeElement.style.display="block"; 
 }
 offYx(){
  this.yx.nativeElement.style.display="none"; 
 }
 onBk(){
  this.bk.nativeElement.style.display="block"; 
 }
 offBk(){
  this.bk.nativeElement.style.display="none"; 
 }
 onWb(){
  this.wb.nativeElement.style.display="block"; 
 }
 offWb(){
  this.wb.nativeElement.style.display="none"; 
 }

 }




